package org.example.myai.service;

import org.example.myai.models.ActorsFilms;
import org.example.myai.models.Completion;
import org.springframework.ai.chat.messages.AssistantMessage;
import org.springframework.ai.image.ImageResponse;


import java.util.List;
import java.util.Map;

public interface TongYiService {


    String completion(String message);

    Map<String, String> streamCompletion(String message);

    ActorsFilms genOutputParse(String actor);

    AssistantMessage genPromptTemplates(String adjective, String topic);

    AssistantMessage genRole(String message, String name, String voice);

    Completion stuffCompletion(String message, boolean stuffit);

    ImageResponse genImg(String imgPrompt);

    String genAudio(String text);

    String audioTranscription(String audioUrls);

    List<Double> textEmbedding(String text);

}
